home *** CD-ROM | disk | FTP | other *** search
- Path: news.interpath.net!mercury!softbase
- From: softbase@mercury.interpath.net (Scott McMahan - Softbase Systems)
- Newsgroups: comp.lang.c++,comp.lang.eiffel,comp.lang.c,comp.object,comp.software-eng
- Subject: Re: Beware of "C" Hackers -- A rebuttal to Bertrand Meyer
- Date: 14 Mar 1996 17:34:46 GMT
- Organization: Interpath -- Providing Internet access to North Carolina
- Message-ID: <4i9lbm$pmh@news.interpath.net>
- NNTP-Posting-Host: mercury.interpath.com
- X-Newsreader: TIN [version 1.2 PL2]
-
- Jay Martin (jmartin@cs.ucla.edu) wrote:
-
- : If C is so wonderful for making high level code, then what the bleep
- : was C++ invented for?
-
- 1. Really high level code,
- 2. Obfuscated high level code the way C obfuscates low
- level code
- 3. To see how many paradigms one languge could support
- (Simula-based OOP, MVC based OOP, data abstraction
- a-la Modula-2, old C, assembly language...)
-
- : Most code written in C is low level crap.
-
- But is this arguing in FAVOR of C or AGAINST it? I'd take this
- to be in favor of it. Right now, for example, I'm writing some
- really low level code that uses words as bitmaps. In C it is
- very elegant. You load up a bitmap with clues you find reading
- a file, then just do a test on the word to see if a
- ceertain condition holds.
-
- : Culture is everywhere. I have seen many FORTRAN programmers have
- : brain seizures when they first saw identifiers longer than 6
- : characters and of lower/mixed case.
-
- My favorite story is the old saying -- why do I need more positions? I
- can't think up 6 bytes as it is! :)
-
- What people don't realize about C is that it's a self-preservation
- phenomenon. Moving from computer to computer, you can bring your C
- skills and have a lot less to learn when you sit down in front of a new
- box, a new OS, etc. So, programmers have a vested interest in making
- some language -- and it happened to be C -- universal. Writing COBOL on
- a mainframe, Delphi in Windows, REXX in OS/2, and perl in UNIX isn't as
- good as writing C everywhere. C isn't perfect -- but it can be
- implemented easily on new platforms. C compilers are cheap and
- plentiful, and a C programmer can sit down at just about anything from
- an MVS mainframe to a TI pocket calculator and get to work.
-
- Also, C is a compromise between: verbosity in languages like Modula-2
- and COBOL and the terseness that seems to be preferred by professionals
- (even longtime COBOL programmers omit everything but the bare minimum
- verbosity required!); high-level and low-level access -- C supports
- just about everything Modula-2 does (although not as cleanly), and also
- supports just about everything asm does. And so on. It's a compromise
- that has worked better than anything else.
-
- If the price for this is a few pathological buit twiddlers, fine!
-
- Scott
-
-